class ArticleTabBean {
  ArticleTabBean({
    this.categoryId,
    this.categoryName,
    this.categoryDesc,
    this.categoryStatus,
    this.createTime,
    this.creatorId,
    this.creatorName,
    this.updateTime,
    this.updatorId,
    this.updatorName,
    this.filePath,
  });

  ArticleTabBean.fromJson(dynamic json) {
    categoryId = json['categoryId'];
    categoryName = json['categoryName'];
    categoryDesc = json['categoryDesc'];
    categoryStatus = json['categoryStatus'];
    createTime = json['createTime'];
    creatorId = json['creatorId'];
    creatorName = json['creatorName'];
    updateTime = json['updateTime'];
    updatorId = json['updatorId'];
    updatorName = json['updatorName'];
    filePath =
        json['filePath'] != null ? FilePath.fromJson(json['filePath']) : null;
  }
  String? categoryId;
  String? categoryName;
  String? categoryDesc;
  String? categoryStatus;
  String? createTime;
  String? creatorId;
  String? creatorName;
  String? updateTime;
  String? updatorId;
  String? updatorName;
  FilePath? filePath;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['categoryId'] = categoryId;
    map['categoryName'] = categoryName;
    map['categoryDesc'] = categoryDesc;
    map['categoryStatus'] = categoryStatus;
    map['createTime'] = createTime;
    map['creatorId'] = creatorId;
    map['creatorName'] = creatorName;
    map['updateTime'] = updateTime;
    map['updatorId'] = updatorId;
    map['updatorName'] = updatorName;
    if (filePath != null) {
      map['filePath'] = filePath?.toJson();
    }
    return map;
  }
}

class FilePath {
  FilePath({
    this.fileNo,
    this.fileName,
    this.fileSort,
    this.fileType,
    this.filePath,
    this.fileOldName,
    this.fileStatus,
    this.uploader,
    this.uploadTime,
    this.businessNo,
  });

  FilePath.fromJson(dynamic json) {
    fileNo = json['fileNo'];
    fileName = json['fileName'];
    fileSort = json['fileSort'];
    fileType = json['fileType'];
    filePath = json['filePath'];
    fileOldName = json['fileOldName'];
    fileStatus = json['fileStatus'];
    uploader = json['uploader'];
    uploadTime = json['uploadTime'];
    businessNo = json['businessNo'];
  }
  String? fileNo;
  String? fileName;
  num? fileSort;
  String? fileType;
  String? filePath;
  String? fileOldName;
  num? fileStatus;
  String? uploader;
  num? uploadTime;
  String? businessNo;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['fileNo'] = fileNo;
    map['fileName'] = fileName;
    map['fileSort'] = fileSort;
    map['fileType'] = fileType;
    map['filePath'] = filePath;
    map['fileOldName'] = fileOldName;
    map['fileStatus'] = fileStatus;
    map['uploader'] = uploader;
    map['uploadTime'] = uploadTime;
    map['businessNo'] = businessNo;
    return map;
  }
}
